﻿////*** Guidance generated code ***//
//using System.Collections.Generic;
//using System.ComponentModel;
//using System.Linq;
//using System.Web.Http.ValueProviders;

//using ProjectBase.Core;
//using ProjectBase.Core.Service;
//using ProjectBase.Core.Web;

//namespace $safeprojectname$.Controllers
//{
//    public class ApiValueContainer : IValueContainer
//    {
//        protected readonly IValueProvider ValueProvider;
//        public ApiValueContainer(IValueProvider valueProvider)
//        {
//            ValueProvider = valueProvider;
//        }

//        public bool ContainsPrefix(string prefix)
//        {
//            return ValueProvider.ContainsPrefix(prefix);
//        }

//        public IValueResult GetValue(string key)
//        {
//            var value = ValueProvider.GetValue(key);

//            return value.IsNull()
//                ? null
//                : new ApiValueResult(value);
//        }
//    }
//}